Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not show instructions for failed build #457

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

kapr200
Copy link
Contributor

@kapr200 kapr200 commented Sep 26, 2024

Fixes #383

TODO:

  • Write new tests or update the old ones to cover new functionality.
  • Update doc-strings where appropriate.
  • Update or write new documentation in packit/packit.dev.
  • ‹fill in›

Fixes

Related to

Merge before/after

RELEASE NOTES BEGIN
Don't show instructions for installation when build fails
RELEASE NOTES END

Copy link
Contributor

Copy link
Contributor

Copy link
Collaborator

@Venefilyn Venefilyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

Comment on lines +80 to +112
<>
<Card>
<CardBody>
<Text component="p">
<strong>
You can install the built RPMs by following these steps:
</strong>
</Text>
<br />
<List>
<ListItem>
<code>sudo dnf install -y dnf-plugins-core</code>
</ListItem>
<ListItem>
<code>
sudo dnf copr enable {data.copr_owner}/{data.copr_project}
</code>
</ListItem>
<ListItem>
<code>
sudo dnf install -y{" "}
{getPackagesToInstall(data.built_packages).join(" ")}
</code>
</ListItem>
</List>
<Text component="p">
<br />
Please note that the RPMs should be used only in a testing
environment.
</Text>
</CardBody>
</Card>
</>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comment, don't need React Fragment here <> as we only need it when there are multiple top-level components. Here we just have <Card>

@Venefilyn Venefilyn added this pull request to the merge queue Sep 26, 2024
Merged via the queue into packit:main with commit 266c8ee Sep 26, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not show installation instructions on build failure
2 participants